/*
 * Copyright (c) Huawei Technologies Co., Ltd. 2024-2024.
 * Description: support long hw_breakpoint
 * Author: zhangningyi
 * Create: 2024-03-12
 */
#ifndef INTERNAL_LONG_HW_BREAKPOINT_H
#define INTERNAL_LONG_HW_BREAKPOINT_H

#include <linux/sched.h>

#ifdef CONFIG_RTOS_DEBUG_WATCHPOINT_SIGNAL
extern unsigned int sysctl_watchpoint_signal;
void send_watchpoint_signal(unsigned long addr, struct task_struct *task);
#else
static inline void send_watchpoint_signal(unsigned long addr, struct task_struct *task)
{
}
#endif

#endif
